<table class="CSSTableGenerator">
   <tr>
       <td>Account</td>
       <td>Email</td>
       <td>Edit</td>
       <td>Delete</td>
   </tr>
<?php
    $accounts = $this->accounts;

    
    foreach ($accounts as $item ){
        echo "<tr>";    
        
        echo "<td>".$item['username']."</td>";
        echo "<td>".$item['email']."</td>";
        echo "<td><a class='edit-item' href ='".$this->baseUrl."/".$this->module."/account/edit/id/".$item['id']."'>EDIT<a/></td>";
        echo "<td><a class='del-item' href ='".$this->baseUrl."/".$this->module."/account/del/id/".$item['id']."'>DELETE<a/></td>";
        echo "</tr>";
    }
    
 ?>

    <tr>
                <td colspan="4">
                <?php echo  $this->paginationControl($this->accounts, 'Sliding', 'paging.phtml'); ?>
                </td>
        </tr>
</table>